import {withdrawList} from '../../utils/api'
Page({

  /**
   * 页面的初始数据
   */
  data: {
    withdrawInfos:[],
    show: false,
    activeIndex: 0
  },

 /**
  * 页面显示
  */
  onShow: function(){
    this.withdrawList()
  },
  /**
   * 查询提现记录
   */
  withdrawList(){
    withdrawList().then(res=>{
      this.setData({
        withdrawInfos: res.data
      })
    })
  }
})